package com.yyf.springboot2.service;

import com.yyf.springboot2.entity.TGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */
public interface TGoodsService extends IService<TGoods> {

    List<TGoods> getGoodsList(Map<String,Object> map, Integer pageSize, Integer pageNum);

    List<TGoods> getallGoods();

    TGoods getgoodsDetails(Integer id);
}
